
<table class="table table-striped m-b-none ">
    <thead>
        <tr>
        	<th>ID</th>
            <th>名称</th>
        	<th>券面额</th>
        	<th>发送类型</th>
            <th>消费金额</th>
          	<th>使用数</th>
         	<th>添加时间</th>
            <th>使用结束时间</th>
            <th width="130">操作</th>
        </tr>
    </thead>
    <tbody>
{volist name="data.list" id="row" }
        <tr>
        	<td>{$row.type_id}</td>
        	<td>{$row.type_name}</td>
            <td><span class="money">{$row.type_money}</span></td>
            <td>{$SendType[$row['send_type']]['name']}</td>
            <td><span class="money">{$row.min_amount}</span></td>
            <td>{$row.used_num}</td>
            <td>{$row.add_time|dateTpl}</td>
            <td>{$row.use_end_date|dateTpl}</td>
            <td>
            	{eq name="row.send_type" value="3"}<a href="{:url('getExcel',array('type_id'=>$row['type_id']),false)}" class="m-xs" title="报表"><i class="fa fa-download text-muted"></i></a><a href="{:url('send',array('type_id'=>$row['type_id']))}" class="m-xs" title="发放"><i class="fa fa-random text-muted"></i></a>{/eq}
                 {eq name="row.send_type" value="1"}<a href="{:url('send',array('type_id'=>$row['type_id']))}" class="m-xs" title="发放"><i class="fa fa-random text-muted"></i></a>{/eq}
                <a href="{:url('info',array('type_id'=>$row['type_id']))}" class="m-xs" title="编辑"><i class="fa fa-edit text-muted"></i></a>
                <a href="{:url('bonusList',array('type_id'=>$row['type_id']))}" class="m-xs" title="查看"><i class="fa fa-search text-muted"></i></a>
               
                
            </td>
        </tr>
{/volist}
    </tbody>
</table>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}  
